﻿namespace DbMetadata.Providers
{
    /// <summary>
    /// Represents primary key meta data.
    /// </summary>
    public class PrimaryKeyInfo
    {
        /// <summary>
        /// Gets or sets the name of the primary key constraint.
        /// </summary>
        public string ConstraintName { get; set; }

        /// <summary>
        /// Gets or sets the catalog of the table that owns the primary key constraint.
        /// </summary>
        public string TableCatalog { get; set; }

        /// <summary>
        /// Gets or sets the schema of the table that owns the primary key constraint.
        /// </summary>
        public string TableSchema { get; set; }

        /// <summary>
        /// Gets or sets the name of the table that owns the primary key constraint.
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// Gets or sets the name of the column that is part of the primary key constraint.
        /// </summary>
        public string ColumnName { get; set; }
    }
}
